.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
    margin-left: 250px;
    min-height: 100vh;
}

.admin-content.sidebar-collapsed {
    margin-left: 60px;
}

.admin-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-content {
        margin-left: 0;
    }

    .admin-content.sidebar-collapsed {
        margin-left: 0;
    }

    .admin-main {
        padding: 1rem;
    }
}